package org.jeecg.modules.demo.hd.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: app_config
 * @Author: jeecg-boot
 * @Date: 2025-05-01
 * @Version: V1.0
 */
@Data
@TableName("app_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "app_config对象", description = "app_config")
public class AppConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 提现金额限制
     */
    @Excel(name = "提现金额限制", width = 15)
    @ApiModelProperty(value = "提现金额限制")
    private String withdrawal;
    /**
     * 现金兑换比率
     */
    @Excel(name = "现金兑换比率", width = 15)
    @ApiModelProperty(value = "现金兑换比率")
    private Double cashRate;
    /**
     * 工币兑换比率
     */
    @Excel(name = "工币兑换比率", width = 15)
    @ApiModelProperty(value = "工币兑换比率")
    private Double gbRate;
    /**
     * 公告跳转页面
     */
    @Excel(name = "公告跳转页面", width = 15)
    @ApiModelProperty(value = "公告跳转页面")
    private String gonggaoPath;
    /**
     * 生态规划跳转页面
     */
    @Excel(name = "生态规划跳转页面", width = 15)
    @ApiModelProperty(value = "生态规划跳转页面")
    private String shengtaiguihuaPath;
    /**
     * 先锋计划跳转页面
     */
    @Excel(name = "先锋计划跳转页面", width = 15)
    @ApiModelProperty(value = "先锋计划跳转页面")
    private String xianfengjihuaPath;
    /**
     * 邀请好友跳转页面
     */
    @Excel(name = "邀请好友跳转页面", width = 15)
    @ApiModelProperty(value = "邀请好友跳转页面")
    private String yaoqinghaoyouPath;
    /**
     * 实名认证跳转页面
     */
    @Excel(name = "实名认证跳转页面", width = 15)
    @ApiModelProperty(value = "实名认证跳转页面")
    private String shimingrenzhengPath;
    /**
     * 关于我们
     */
    @Excel(name = "关于我们", width = 15)
    @ApiModelProperty(value = "关于我们")
    private String guanyuwomenPath;
    /**
     * 隐私正常
     */
    @Excel(name = "隐私正常", width = 15)
    @ApiModelProperty(value = "隐私正常")
    private String yinsizhengcePath;
    /**
     * 我的工币
     */
    @Excel(name = "我的工币", width = 15)
    @ApiModelProperty(value = "我的工币")
    private String wodegongbiPath;

    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    @ApiModelProperty(value = "调整系数")
    private double rate;

    @ApiModelProperty(value = "是否开启限制高收益，0 开启，1关闭")
    private Integer blXg;

    @ApiModelProperty(value = "是否保底，0 开启，1关闭")
    private Integer blBd;

    @ApiModelProperty(value = "是否开启每日补贴，0 开启，1关闭")
    private Integer blDayBt;

    @ApiModelProperty(value = "补贴条数")
    private Integer btNum;

    @ApiModelProperty(value = "补贴金额")
    private Integer btGold;

    public AppConfig() {
        this.withdrawal = "100,200,500,1000";
        this.status = "1";
        this.cashRate = 100000d;
        this.gbRate = 100000d;
        this.rate=1d;
        this.blXg=1;
        this.blBd=1;
    }
}
